package com.hiultra.archive.mapper;

import java.util.List;

import com.hiultra.archive.domain.ArcBox;
import com.hiultra.archive.domain.SimfExamine;

/**
 * 审批Mapper接口
 *
 * @author ls
 * @date 2023-09-25
 */
public interface SimfExamineMapper {
    /**
     * 查询审批
     *
     * @param examineId 审批主键
     * @return 审批
     */
    public SimfExamine selectSimfExamineByExamineId(Long examineId);

    /**
     * 查询审批列表
     *
     * @param simfExamine 审批
     * @return 审批集合
     */
    public List<SimfExamine> selectSimfExamineList(SimfExamine simfExamine);

    /**
     * 新增审批
     *
     * @param simfExamine 审批
     * @return 结果
     */
    public int insertSimfExamine(SimfExamine simfExamine);

    /**
     * 修改审批
     *
     * @param simfExamine 审批
     * @return 结果
     */
    public int updateSimfExamine(SimfExamine simfExamine);

    /**
     * 删除审批
     *
     * @param examineId 审批主键
     * @return 结果
     */
    public int deleteSimfExamineByExamineId(Long examineId);

    /**
     * 批量删除审批
     *
     * @param examineIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSimfExamineByExamineIds(Long[] examineIds);

    /**
     * 校验流程编号是否唯一
     *
     * @param simfExamine 流程
     * @return 结果
     */
    public SimfExamine checkExamineCodeUnique(SimfExamine simfExamine);

    /**
     * 校验流程名称是否唯一
     *
     * @param simfExamine 流程
     * @return 结果
     */
    public SimfExamine checkExamineNameUnique(SimfExamine simfExamine);
}
